import Vue from 'vue'
import App from './App.vue'
import router from './router'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import MuseUI from 'muse-ui';
import 'muse-ui/dist/muse-ui.css';
import axios from 'axios'
import request from './utils/request';
import Vuex from "vuex";
import store from "@/store";
import VMdPreview from '@kangc/v-md-editor/lib/preview';
import '@kangc/v-md-editor/lib/style/preview.css';
import githubTheme from '@kangc/v-md-editor/lib/theme/github.js';
import '@kangc/v-md-editor/lib/theme/style/github.css';

// highlightjs
import hljs from 'highlight.js';

VMdPreview.use(githubTheme, {
  Hljs: hljs,
});

Vue.use(VMdPreview);

Vue.use(VMdPreview);
Vue.use(ElementUI);
Vue.use(MuseUI);
Vue.use(Vuex);

Vue.prototype.$axios=axios
Vue.prototype.$request=request;
Vue.config.productionTip = false


Vue.prototype.request=request

new Vue({
  axios,
  router,
  store,
  render: h => h(App)
}).$mount('#app')
